package com.botann.projects.filter;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Charging
 * PublicInterceptor
 * Created by 刘山国 on 2018/11/21.
 * Copyright (c) 2017 伯坦科技. All rights reserved
 */
public class PublicInterceptor extends BaseInterceptor {

    @Override
    public Class loggerClass() {
        return PublicInterceptor.class;
    }

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        generateRequestLog(request,0,true,"开放接口");
        return super.preHandle(request, response, handler);
    }
}
